package com.azure;
 /*
  *	使用springboot内嵌容器运行
  *
  *	pom加入tomcat-embed-jasper(无scope)、jstl、spring-boot-starter-web
  *
  *	可以使用启动类、maven spring-boot:run、java -jar report.war(maven 打war包)运行
  *
  *	启动类无需继承SpringBootServletInitializer
  */

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.SchedulingConfigurer;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
import org.springframework.scheduling.config.ScheduledTaskRegistrar;

@SpringBootApplication
@EnableScheduling
//@MapperScan("com.azure.mapper")
public class ReportApplication /*extends SpringBootServletInitializer*/{

	public static void main(String[] args) {
		SpringApplication.run(ReportApplication.class, args);
	}

	/*@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		return builder.sources(ReportApplication.class);
	}*/
}
